package com.example.flashsales.entity.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 商品的实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Goods {

  //商品id
  private long id;
  //商品编号
  private long productNumber;
  //商品名称
  private String name;
  //商品价格
  private double price;
  //商品类别
  private int typeId;
  //商品数量
  private double count;
  //商品的图片地址
  private String url;
  //商品细节id
  private long detailsId;
  //总销量
  private long allCount;

  //商品状态
  private int state;


}
